from src.application.bot_settings.dto import BotSettingsDTO
from src.infrastructure.db.uow import SQLAlchemyUoW


class BotSettingsService:
    def __init__(
        self,
        *,
        uow: SQLAlchemyUoW,
    ) -> None:
        self._uow = uow

    async def get_bot_settings(self) -> BotSettingsDTO:
        """Получаем настройки бота"""

        return await self._uow.bot_settings_reader.get_bot_settings()
